package com.gof.example.prototype;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/2 11:43.
 * haiming.fei@tongdun.cn
 */
public class Address implements Cloneable, Serializable {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }

    @Override
    public String toString() {
        return "Address{" +
                "name='" + name + '\'' +
                '}';
    }
}
